package com.erik.lin.service;

import com.erik.lin.orm.dao.ApiPermitDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by Erik on 2017/4/12.
 */
@Service
public class ApiPermitService {

    @Autowired
    private ApiPermitDao apiPermitDao;

    public List<Map<String, Object>> getAllPermitsRelaApi() {
        return apiPermitDao.getAllPermitsRelaApi();
    }
}
